<%--
    Document   : index
    Created on : Nov 20, 2010, 11:09:11 PM
    Author     : navneet
--%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Web-Dev-Tool by Navneet Kumar</title>
        <meta http-equiv="Content-Language" content="English" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link rel="stylesheet" type="text/css" href="css/style.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="css/style1.css" media="screen" />
    </head>
    <body>
        <div id="wrap">
            <jsp:include page="/WEB-INF/jspf/header.jspf" flush="true" ></jsp:include>
            <%--<jsp:include page="/WEB-INF/jspf/top_menu.jspf" flush="true" ></jsp:include>--%>
            <div id="right">
                <%
                if(session.getAttribute("currentUser") != null && session.getAttribute("currentUser").equals("admin")){
                %>
                    <jsp:include page="doOne.jsp" flush="true" ></jsp:include>
                <%
                }else{
                %>
                    <jsp:include page="login.jsp" flush="true" ></jsp:include>
                <%
                }
                %>
            </div>
            <div id="left">
                <%
                //if(session.getAttribute("currentUser") != null){
                %>
                    <jsp:include page="/WEB-INF/jspf/left_menu.jspf" flush="true" ></jsp:include>
                <%
                //}
                %>
            </div>
            <div style="clear: both;"> </div>
            <jsp:include page="/WEB-INF/jspf/footer.jspf" flush="true" ></jsp:include>
        </div>
    </body>
</html>